package io.github.pnoker.center.manager.controller;

import io.github.pnoker.center.manager.service.RobIdRobNameService;
import io.github.pnoker.common.constant.service.ManagerServiceConstant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping(ManagerServiceConstant.DEVICE_URL_PREFIX)
public class RobIdRobNameController {

    @Resource
    private RobIdRobNameService robIdRobNameService;

//    @PostMapping("/selectByRobId")
//    public List<RobIDRobName> selectByRobId(@RequestBody RobIDRobName robIDRobName) {
//        List<RobIDRobName> robIDRobNames = robIdRobNameService.selectByRobId("10086666");
//        for (RobIDRobName idRobName : robIDRobNames) {
//            System.out.println(idRobName);
//        }
//    return robIDRobNames;
//    }
}
